from lagou_cekai.task3_3appium2.ten_class_Enterprise_wechat.page.base_page import BasePage33
from lagou_cekai.task3_3appium2.ten_class_Enterprise_wechat.page.page_element.el_editmember_page import editmember



class EditMember33(BasePage33):

    def input_name(self,data):
        self.find_sendkeys(editmember,'编辑添加成员信息','姓名',data)
        return self

    def input_phone(self,data):
        self.find_sendkeys(editmember,'编辑添加成员信息','电话',data)
        return self

    def click_baocun(self):
        self.find_click(editmember,'编辑添加成员信息','保存')
        from lagou_cekai.task3_3appium2.ten_class_Enterprise_wechat.page.page_function.fun_addmember_page import \
            AddMember33
        return AddMember33(self.driver)